import {get,post} from './../utils/request';

const vistusers=(params:any):any=>{
    return get("visit/visituser/list",params)
}

const visdel=(data:any):any=>{
    return get("visit/visituser/del",data)
}
const depList=(date ?:any):any=>{
    return get('visit/department/list',date)
}
const visedit=(params:any):any=>{
    return post("visit/visituser/edit",params)
}
// visit/visituser/add
const viseAdds=(params:any):any=>{
    return post("visit/visituser/add",params)
}
// 部门
export {vistusers,visdel,visedit,depList,viseAdds}